<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page isELIgnored="false" %>
<%@ include file="/WEB-INF/views/common/includes.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
	
<%-- NAME --%>
<div class="span-4">
  <label for="application.name"><fmt:message key="application.field.name"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.name" path="application.name" disabled="true"/>
</div>	
<%-- DESCRIPTION --%>
<div class="span-4">
  <label for="application.description"><fmt:message key="application.field.description"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.description" path="application.description" disabled="true"/>
</div>	
<%-- COMPANY --%>
<div class="span-4">
  <label for="application.company"><fmt:message key="application.field.company"/></label>
</div>
<div class="span-12 last">
  <div class="span-12 last">
   <form:select id="application.company" path="application.companyId" disabled="true">
    <form:option label="${company.name}"  value="${company.id}"/>
  </form:select>
</div>
</div>
<%-- APPLICATION URL --%>
<div class="span-4">
  <label for="application.applicationUri"><fmt:message key="application.field.appUri"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.applicationUri" path="application.applicationUri" size="50" disabled="true"/>
</div>
<%-- IS A WEB APPLICATION? --%>
<div class="span-4">
  <label for="application.webApp"><fmt:message key="application.field.webApp"/></label>
</div>
<div class="span-12 last">
  <form:checkbox id="application.webApp" path="application.webApp" disabled="true"/>
</div>

<%-- WEB REDIRECT URL --%>
<div class="span-4">
  <label for="application.webServerRedirectUri"><fmt:message key="application.field.webServerRedirectUri"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.webServerRedirectUri" path="application.webServerRedirectUri" size="50" disabled="true"/>
</div>

<%-- CLIENT ID --%>
<div class="span-4">
  <label for="application.clientId"><fmt:message key="application.field.clientId"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.clientId" path="application.clientId" size="50" disabled="true"/>
</div>
<%-- CLIENT SECRET --%>
<div class="span-4">
  <label for="application.clientSecret"><fmt:message key="application.field.clientSecret"/></label>
</div>
<div class="span-12 last">
  <form:input id="application.clientSecret" path="application.clientSecret" size="50" disabled="true"/>
</div>

